package com.lixin.admin.server.vo;

public enum ResponseCode {
    SUCCESS(1, "操作成功"),
    SUCCESS_LOGIN(2, "登录成功"),
    FAIL(10000, "操作失败"),
    FAIL_LOGIN(10001, "登录失败");

    private Integer code;
    private String message;

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
